package com.yizhang.pattern.chain;

/**
 * @Author: yi.zhang
 * @CreateTime: 2025-08-22 15:46:20
 * @Description:
 */
public class LoginHandler extends Handler<Member> {
    @Override
    public void handle(Member member) {
        System.out.println("开始登录============");
        member.setRoleName("admin");
        if (null != this.next) {
            this.next.handle(member);
        }
    }
}
